/**
 * Created with JackHou
 * Date: 2018/11/19
 * Time: 14:11
 * Description:WebSocket 消息实体
 */

export default class WsMsgBean {
    constructor(id, tid, cmd, data, cmdType, tag) {
        this.id = id;//id
        this.tid = tid; //target id
        this.cmd = cmd;//cmd
        this.cmdType = cmdType;//request/response
        this.tag = tag;//请求的唯一标识
        this.data = data;//数据
    }
}